<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>19_flex的换行实现</title>
    <link rel="stylesheet" href="./css/basic.css" />
    <style>
      .container {
        width: 100vw;
        height: 100vh;
        background-color: pink;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
      }
      .item {
        width: 10vw;
        height: 100px;
        background-color: azure;
        margin: 10px 20px;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
    </div>
  </body>
</html>
